package com.interview;

import java.util.ArrayList;
import java.util.Stack;

public class Test {
    public static void main(String[] args) {

        Node head = new Node(1);

        Node node1 = new Node(2);
        head.left = node1;

        Node node2 = new Node(3);
        head.right = node2;
        Node node3 = new Node(4);
        node1.left = node3;
        Node node4 = new Node(5);
        node1.right = node4;


        ArrayList<Integer> list = new ArrayList<Integer>();

        // 遍历
        Node cur = head;
        Stack<Node> stack = new Stack<Node>();







    }
}
